package com.tedu.project5.model;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 采购表
 * </p>
 *
 * @author mhg
 * @since 2022-06-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("dd_purchase_info")
public class DdPurchaseInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 采购名
     */
    @TableField("purchase_name")
    private String purchaseName;

    /**
     * 采购类型
     */
    @TableField("purchase_type")
    private String purchaseType;

    /**
     * 采购总价
     */
    @TableField("total_price")
    private BigDecimal totalPrice;

    /**
     * 采购总数
     */
    @TableField("total_num")
    private Integer totalNum;

    /**
     * 计量单位
     */
    @TableField("measure_unit")
    private String measureUnit;

    /**
     * 单价
     */
    @TableField("unit_price")
    private BigDecimal unitPrice;

    /**
     * 额外费用
     */
    @TableField("other_price")
    private BigDecimal otherPrice;

    /**
     * 额外费用类型
     */
    @TableField("other_price_type")
    private String otherPriceType;


}
